package com.demo.apparel.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 微信用户实体类
 */
@Data
@Schema(description = "微信用户实体类")
public class WxUser {

    @Schema(description = "用户ID")
    private String id;

    @Schema(description = "微信openid")
    private String openid;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "头像URL")
    private String avatar;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "创建时间")
    private LocalDateTime createdTime;

    @Schema(description = "更新时间")
    private LocalDateTime updatedTime;

    // ✅ 新增密码字段
    private String password;
}
